PERFCOUNTER_CPU( sched_ctx, "sched: context switches" )
PERFCOUNTER( net_hypercalls, "network hypercalls" )
-PERFCOUNTER( net_rx_capacity_drop, "net rx capacity drop" )
+PERFCOUNTER( net_rx_congestion_drop, "net rx congestion drops" )
+PERFCOUNTER( net_rx_capacity_drop, "net rx capacity drops" )
PERFCOUNTER( net_rx_delivered, "net rx delivered" )
PERFCOUNTER( net_rx_tlbflush, "net rx tlb flushes" )
PERFCOUNTER( net_tx_transmitted, "net tx transmitted" )
/* This oughtn't to happen, really! */
if ( unlikely(skb_queue_len(q) > 100) )
{
- printk("Congestion -- packet dropped!!\n");
+ perfc_incr(net_rx_congestion_drop);
return NET_RX_DROP;
}